<h1>Sap articles List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Created by</th>
      <th>Modified by</th>
      <th>Status</th>
      <th>Title</th>
      <th>Subtitle</th>
      <th>Text</th>
      <th>User</th>
      <th>Category</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($sap_articles as $sap_article): ?>
    <tr>
      <td><a href="<?php echo url_for('article/edit?id='.$sap_article->getId()) ?>"><?php echo $sap_article->getId() ?></a></td>
      <td><?php echo $sap_article->getCreatedBy() ?></td>
      <td><?php echo $sap_article->getModifiedBy() ?></td>
      <td><?php echo $sap_article->getStatus() ?></td>
      <td><?php echo $sap_article->getTitle() ?></td>
      <td><?php echo $sap_article->getSubtitle() ?></td>
      <td><?php echo $sap_article->getText() ?></td>
      <td><?php echo $sap_article->getUserId() ?></td>
      <td><?php echo $sap_article->getCategoryId() ?></td>
      <td><?php echo $sap_article->getCreatedAt() ?></td>
      <td><?php echo $sap_article->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('article/new') ?>">New</a>
